package com.zhss.concurrency;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @ClassName ConcurrentHashMapDemo
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/7/9 11:14
 * @Version 1.0
 */
public class ConcurrentHashMapDemo {
	public static void main(String[] args) {

//		final HashMap<String, String> map = new HashMap<>();
//		map.put(null, "1");
//		map.put("1", null);
//		map.put(null, null);
//		map.put(null, "2");
//		System.out.println(map.get(null));

		System.out.println(10 >>> 3);

//		final ConcurrentHashMap<String, String> concurrentHashMap = new ConcurrentHashMap();
//		concurrentHashMap.put("2", null);
//		concurrentHashMap.put("1", "2");
//		concurrentHashMap.put("2", "3");
//
//		concurrentHashMap.remove("2");
//
//		concurrentHashMap.put("1", "4");
//
//		concurrentHashMap.get("1");
	}
}
